package com.tests.clovece;

import static org.junit.Assert.*;

import org.junit.Test;

import com.client.clovece.*;
public class ButtonStatesTest {

	@Test
	public void testSize() {
		int membersCount = 35; 
		assertTrue(ButtonStates.getSize() == membersCount);
	}
	
	@Test
	public void getDimTest(){
		assertEquals(ButtonStates.PL1DIM, ButtonStates.getDim(ButtonStates.PL1BRIGHT));
		assertEquals(ButtonStates.EMPTY, ButtonStates.getDim(ButtonStates.DICE1));
	}
	
	@Test
	public void getBrightTest(){
		assertEquals(ButtonStates.PL1BRIGHT, ButtonStates.getBright(ButtonStates.PL1DIM));
		assertEquals(ButtonStates.EMPTY, ButtonStates.getBright(ButtonStates.DICE1));
	}
	
	

}
